package com.fgr.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaokai
 * @since 2023-05-09
 */
@TableName("an_messagetype")
public class Messagetype implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 消息类型表主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 消息类型
     */
    private String msgType;

    /**
     * 逻辑删除字段
     */
    private Boolean isDel;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public Boolean getIsDel() {
        return isDel;
    }

    public void setIsDel(Boolean isDel) {
        this.isDel = isDel;
    }

    @Override
    public String toString() {
        return "Messagetype{" +
        "id = " + id +
        ", msgType = " + msgType +
        ", isDel = " + isDel +
        "}";
    }
}
